<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
  <head>
    <title>modularInterfaceList.html</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3"/>
    <meta name="description" content="this is my page"/>
    <meta name="content-type" content="text/html; charset=UTF-8"/>
	<script type="text/javascript" src="../js/jquery-2.1.4.js"></script>
	<script type="text/javascript" src="../js/tool.js"></script>
	
  </head>
  
  <body>
	  <table border="1" style="width: 80%">
			<thead>
				<tr>
					<td>接口名称</td>
					<td>接口状态</td>
					<td>接口版本</td>
					<td>接口说明</td>
					<td>接口所属模块</td>
					<td>接口所属项目</td>
					<td>操作</td>
				</tr>
			</thead>
			<tbody id="projectList">
				<tr th:each="interfaceInfo,index : ${interfaceInfoItem}">
					<td th:text="${interfaceInfo.interfaceName}"></td>
					<td th:text="${interfaceInfo.interfaceState == 1 ? '正常' : '关闭'}"></td>
					<td th:text="${interfaceInfo.interfaceVersion}"></td>
					<td th:text="${interfaceInfo.interfaceExplain}"></td>
					<td th:text="${interfaceInfo.modularInfo.modularName}"></td>
					<td th:text="${interfaceInfo.projectInfo.projectName}"></td>
					<td>
						<a th:href="@{interfaceInfo.do(interfaceId=${interfaceInfo.interfaceId})}"><button>修改</button></a>
						<button>案例执行情况</button>
						<button>接口调用历史</button>
					</td>
				</tr>
			</tbody>
		</table>
  </body>
</html>
